import 'package:get/get.dart';
import 'package:hockey/pages/jzx_about_us/jzx_about_us.dart';
import 'package:hockey/pages/jzx_avatar_upgrade/jzx_avatar_upgrade.dart';
import 'package:hockey/pages/jzx_coins/jzx_coins.dart';
import 'package:hockey/pages/jzx_edit_profile/jzx_edit_profile.dart';
import 'package:hockey/pages/jzx_followed_list/jzx_followed_list.dart';
import 'package:hockey/pages/jzx_intr_silder/jzx_intr_silder.dart';
import 'package:hockey/pages/jzx_login/jzx_login.dart';
import 'package:hockey/pages/jzx_post_detail/jzx_post_detail.dart';
import 'package:hockey/pages/jzx_publish_post/jzx_publish_post.dart';
import 'package:hockey/pages/jzx_splash/jzx_splash.dart';
import 'package:hockey/pages/jzx_user_homepage/jzx_user_homepage.dart';

import '../jzx_tabbar.dart';
import '../pages/jzx_avatar_unlock_condition/jzx_avatar_unlock_condition.dart';
import '../pages/jzx_blacklist/jzx_blacklist.dart';
import '../pages/jzx_settings/jzx_settings.dart';

class JzxAppPages {
  JzxAppPages._();

  // ignore: constant_identifier_names
  static const INITIAL = kRouteJzxSplash;

  static final routes = [
    GetPage(
      name: kRouteTabbar,
      // participatesInRootNavigator: true,
      transition: Transition.noTransition,
      page: () => const TabbarScaffold(),
      binding: TabbarBinding(),
    ),
    GetPage(
      name: kRouteJzxSplash,
      transition: Transition.noTransition,
      page: () => const JzxSplashView(),
      binding: JzxSplashBinding(),
    ),
    GetPage(
      name: kRouteJzxIntrSilder,
      transition: Transition.noTransition,
      page: () => const JzxIntrSilderView(),
      binding: JzxIntrSilderBinding(),
    ),
    GetPage(
      name: kRouteJzxLogin,
      transition: Transition.noTransition,
      page: () => const JzxLoginView(),
      binding: JzxLoginBinding(),
    ),
    GetPage(
      name: kRouteJzxAvatarUnlockCondition,
      page: () => const JzxAvatarUnlockConditionView(),
      binding: JzxAvatarUnlockConditionBinding(),
    ),
    GetPage(
      name: kRouteJzxAvatarUpgrade,
      page: () => const JzxAvatarUpgradeView(),
      binding: JzxAvatarUpgradeBinding(),
    ),
    GetPage(
      name: kRouteJzxAboutUs,
      page: () => const JzxAboutUsView(),
      binding: JzxAboutUsBinding(),
    ),
    GetPage(
      name: kRouteJzxFollowedList,
      page: () => const JzxFollowedListView(),
      binding: JzxFollowedListBinding(),
    ),
    GetPage(
      name: kRouteJzxSettings,
      page: () => const JzxSettingsView(),
      binding: JzxSettingsBinding(),
    ),
    GetPage(
      name: kRouteJzxBlacklist,
      page: () => const JzxBlacklistView(),
      binding: JzxBlacklistBinding(),
    ),
    GetPage(
      name: kRouteJzxEditProfile,
      page: () => const JzxEditProfileView(),
      binding: JzxEditProfileBinding(),
    ),
    GetPage(
      name: kRouteJzxUserHomepage,
      page: () => const JzxUserHomepageView(),
      binding: JzxUserHomepageBinding(),
    ),
    GetPage(
      name: kRouteJzxPostDetail,
      page: () => const JzxPostDetailView(),
      binding: JzxPostDetailBinding(),
    ),
    GetPage(
      name: kRouteJzxCoins,
      page: () => const JzxCoinsView(),
      binding: JzxCoinsBinding(),
    ),
    GetPage(
      name: kRouteJzxPublishPost,
      page: () => const JzxPublishPostView(),
      binding: JzxPublishPostBinding(),
    ),
  ];
}
